Skip to content

docs: lead the README with examples + performance#48

Merged
dfa1 merged 1 commit into
mainfrom
docs/readme-examples-benchmark
Jun 28, 2026
Merged

docs: lead the README with examples + performance#48
dfa1 merged 1 commit into
mainfrom
docs/readme-examples-benchmark

Conversation

@dfa1

@dfa1 dfa1 commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Restructures the README landing page for promotion — examples + performance up front.

Added

  • Quickstart — three code blocks: byte[] round-trip, dictionary train+compress, zero-copy MemorySegment. Signatures verified against the 0.6 API.
  • Performance — surfaces the publication-grade golden-corpus numbers from docs/benchmarks.md: best-vs-best vs zstd-jni's own zero-copy ByteBuffer path (+9.8% compress / +22.9% small decompress / tie on large; ~0 B/op both), plus the allocation-free-vs-byte[] story. Honest ties kept.

Changed

  • Sharpened the pitch to the two real differentiators (dictionary + zero-copy).
  • JDK 25 framed as "first LTS with stable FFM" (not an apology).
  • Install moved above Documentation; linked the release smoke matrix as per-arch proof.

Docs only. Numbers are quoted verbatim from the existing benchmark run, not regenerated.

🤖 Generated with Claude Code

Restructure the landing page for first-time visitors:
- Quickstart: byte[] round-trip, dictionary train+compress, zero-copy
  MemorySegment (signatures verified against the 0.6 API)
- Performance: surface the publication-grade golden-corpus numbers from
  docs/benchmarks.md (best-vs-best vs zstd-jni's own zero-copy path:
  +9-23% throughput on small payloads, allocation tie; allocation-free vs
  the convenient byte[] APIs) — honest ties included
- Sharpen the pitch (dictionary + zero-copy, the two real differentiators)
  and note the JDK 25 framing (first LTS with stable FFM)
- Move Install above Documentation; link the release smoke matrix as
  per-arch proof

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit b4d5a40 into main Jun 28, 2026
1 check passed
@dfa1 dfa1 deleted the docs/readme-examples-benchmark branch June 28, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant